package com.lkl.demo.common.constant;

public class RabbitMQConstant {

    /** 消息体 */
    public static final String MESSAGE = "message";

    /** 消息类型 */
    public static final String MESSAGE_TYPE = "message_type";

    /** 交换机名称 */
    public static final String EXCHANGE_NAME = "exchange";

    /** 处理邮件的队列名称 */
    public static final String TOPIC_MESSAGE_EMAIL = "topic.message.email";

    /** 处理短信的队列名称 */
    public static final String TOPIC_MESSAGE_SMS = "topic.message.SMS";

    /** 发送到交换机的路由值 */
    public static final String ROUTER_KEY_EXCHANGE = "topic.SMS.email";

    /** 邮件队列路由值 */
    public static final String ROUTER_KEY_EMAIL = "#.email.#";

    /** 短信队列路由值 */
    public static final String ROUTER_KEY_SMS= "#.SMS.#";

    /** 延迟死信交换机 */
    public static final String DELAY_DEAD_EXCHANGE = "delay_dead_exchange";

    /** 延迟队列 */
    public static final String DELAY_QUEUE = "delay_queue";

    /** 死信队列 */
    public static final String DEAD_QUEUE = "dead_queue";

    /** 延迟队列路由值 */
    public static final String ROUTER_KEY_DELAY = "delay";

    /** 死信队列路由值*/
    public static final String ROUTER_KEY_DEAD = "dead";

}
